package com.jv.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.List;

@TableName("t_Bigtype")//商品大类
@Data
public class BigType {

  private Integer id;//编号
  private String name;//名称
  private String remark;//备注
  private String image="default.jpg";//封面图片
  @TableField(select = false)
  private List<SmallType> smallTypeList;//商品小类集合

  public List<SmallType> getSmallTypeList() {
    return smallTypeList;
  }

  public void setSmallTypeList(List<SmallType> smallTypeList) {
    this.smallTypeList = smallTypeList;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public Integer getId() {
    return id;
  }

  public void setId(Integer id) {
    this.id = id;
  }

  public String getRemark() {
    return remark;
  }

  public void setRemark(String remark) {
    this.remark = remark;
  }

  public String getImage() {
    return image;
  }

  public void setImage(String image) {
    this.image = image;
  }
}
